package cn.com.cifi.mars.service.impl;

import cn.com.cifi.mars.bean.vo.monitoringConsole.PortalTodoVo;
import cn.com.cifi.mars.entity.PortalTodoTask;
import cn.com.cifi.mars.mapper.mars.PortalTodoMapper;
import cn.com.cifi.mars.mapper.mars.PortalTodoTaskMapper;
import cn.com.cifi.mars.service.PortalTodoTaskService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 门户待办任务表 服务实现类
 * </p>
 *
 * @author plx
 * @since 2020-02-04
 */
@Service
public class PortalTodoTaskServiceImpl extends ServiceImpl<PortalTodoTaskMapper, PortalTodoTask> implements PortalTodoTaskService {

	@Autowired
	private PortalTodoMapper portalTodoMapper;
	
	/**
	 * 根据门户待办id查看门户待办
	 */
	@Override
	public PortalTodoVo getByInstanceId(String instanceId) {
		return portalTodoMapper.selectByInstanceId(instanceId);
	}

	

}
